[INFO] cloning repository https://github.com/segfau-yama/the_book_practice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/segfau-yama/the_book_practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegfau-yama%2Fthe_book_practice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegfau-yama%2Fthe_book_practice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a7258a8d17ab849682c9832f3228931530104932
[INFO] checking segfau-yama/the_book_practice against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegfau-yama%2Fthe_book_practice" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/segfau-yama/the_book_practice
[INFO] finished tweaking git repo https://github.com/segfau-yama/the_book_practice
[INFO] tweaked toml for git repo https://github.com/segfau-yama/the_book_practice written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/segfau-yama/the_book_practice on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/segfau-yama/the_book_practice already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c59c39bc0852abaa6b0326a861d324d74ab41d8815b3282eaae7150df849cf88
[INFO] running `Command { std: "docker" "start" "-a" "c59c39bc0852abaa6b0326a861d324d74ab41d8815b3282eaae7150df849cf88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c59c39bc0852abaa6b0326a861d324d74ab41d8815b3282eaae7150df849cf88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c59c39bc0852abaa6b0326a861d324d74ab41d8815b3282eaae7150df849cf88", kill_on_drop: false }`
[INFO] [stdout] c59c39bc0852abaa6b0326a861d324d74ab41d8815b3282eaae7150df849cf88
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c8ff459bedc2ecad40526dfd6ef738c7488905d9643330fec2ba5911ca4a96ce
[INFO] running `Command { std: "docker" "start" "-a" "c8ff459bedc2ecad40526dfd6ef738c7488905d9643330fec2ba5911ca4a96ce", kill_on_drop: false }`
[INFO] [stderr]     Checking the_book v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]  --> src/bin/ownership1.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let s2 = s1;
[INFO] [stdout]   |         ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `s1`
[INFO] [stdout]  --> src/bin/ownership1.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let s1 = String::from("hello");
[INFO] [stdout]   |         -- move occurs because `s1` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] 4 |     // s1からs2に所有権が移動
[INFO] [stdout] 5 |     let s2 = s1;
[INFO] [stdout]   |              -- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 8 |     println!("{}, world!", s1);
[INFO] [stdout]   |                            ^^ value borrowed here after move
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let s2 = s1.clone();
[INFO] [stdout]   |                ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> src/bin/lifetime3.rs:11:33
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn longest(x: &str, y: &str) -> &str {
[INFO] [stdout]    |               ----     ----     ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `x` or `y`
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[INFO] [stdout]    |           ++++     ++          ++          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `the_book` (bin "ownership1") due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `the_book` (bin "lifetime3") due to 1 previous error
[INFO] [stdout] error[E0597]: `x` does not live long enough
[INFO] [stdout]   --> src/bin/lifetime1.rs:8:17
[INFO] [stdout]    |
[INFO] [stdout] 7  |             let x = 5;
[INFO] [stdout]    |                 - binding `x` declared here
[INFO] [stdout] 8  |             r = &x;
[INFO] [stdout]    |                 ^^ borrowed value does not live long enough
[INFO] [stdout] 9  |             // xが死亡
[INFO] [stdout] 10 |         }
[INFO] [stdout]    |         - `x` dropped here while still borrowed
[INFO] [stdout] ...
[INFO] [stdout] 13 |         println!("r: {}", r);
[INFO] [stdout]    |                           - borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `the_book` (bin "lifetime1" test) due to 1 previous error
[INFO] [stdout] error[E0597]: `x` does not live long enough
[INFO] [stdout]   --> src/bin/lifetime1.rs:8:17
[INFO] [stdout]    |
[INFO] [stdout] 7  |             let x = 5;
[INFO] [stdout]    |                 - binding `x` declared here
[INFO] [stdout] 8  |             r = &x;
[INFO] [stdout]    |                 ^^ borrowed value does not live long enough
[INFO] [stdout] 9  |             // xが死亡
[INFO] [stdout] 10 |         }
[INFO] [stdout]    |         - `x` dropped here while still borrowed
[INFO] [stdout] ...
[INFO] [stdout] 13 |         println!("r: {}", r);
[INFO] [stdout]    |                           - borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `the_book` (bin "lifetime1") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "c8ff459bedc2ecad40526dfd6ef738c7488905d9643330fec2ba5911ca4a96ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8ff459bedc2ecad40526dfd6ef738c7488905d9643330fec2ba5911ca4a96ce", kill_on_drop: false }`
[INFO] [stdout] c8ff459bedc2ecad40526dfd6ef738c7488905d9643330fec2ba5911ca4a96ce
